import * as types from './mutation-types'

export default {
  changeUserInfo({ commit }, userInfo) {
    commit(types.CHANGE_USER_INFO, userInfo)
  },
  changeCourseList({ commit }, coursesInfo) {
    commit(types.CHANGE_COURSE_LIST, coursesInfo)
  },
  changeArticleList({ commit }, articleList) {
    commit(types.CHANGE_ARTICLE_LIST, articleList)
  }
}
